package com.hb.ssmdemo.service;

import org.springframework.stereotype.Component;

import com.hb.ssmdemo.persistence.entity.SysUser;
import com.hb.ssmdemo.persistence.mapper.SysUserDao;

@Component("sysUserService")
public class SysUserService {

	private SysUserDao sysUserDao;
	
	public SysUser getSysUser(String userName){
		return sysUserDao.getSysUser(userName);
	}

	public SysUserDao getSysUserDao() {
		return sysUserDao;
	}

	public void setSysUserDao(SysUserDao sysUserDao) {
		this.sysUserDao = sysUserDao;
	}
}
